package com.epmxx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.epmxx.domain.Hotel;
import com.epmxx.vo.HotelVO;
import com.epmxx.vo.RoomQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  酒店数据接口操作类
* @Entity com.epmxx.domain.Hotel
*/
public interface HotelMapper extends BaseMapper<Hotel> {

    /**
     * 分页查询
     *
     * @param query
     * @return
     */
    List<HotelVO> selectList(RoomQuery query);

    /**
     * 批量删除
     * @param id
     * @return
     */
    int deleteHotelBatch(@Param("ids") List<Integer> id);
}
